package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 能耗统计结果对象 dispatchEnergyConsumptionStats
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public class DispatchEnergyConsumptionStats extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 能耗统计结果编号 */
    private Long energyConsumptionStatsId;

    /** 统计类型 */
    @Excel(name = "统计类型")
    private Long statType;

    /** 统计对应的日期 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "统计对应的日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date statDate;

    /** 厂站类型 */
    @Excel(name = "厂站类型")
    private Integer stationType;

    /** 时间段内的总电量消耗 */
    @Excel(name = "时间段内的总电量消耗")
    private BigDecimal totalElectricityConsumption;

    /** 创建人 */
    @Excel(name = "创建人")
    private String creator;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updater;

    /** 该时间段内的总电费支出 */
    @Excel(name = "该时间段内的总电费支出")
    private BigDecimal totalElectricityCost;

    public void setEnergyConsumptionStatsId(Long energyConsumptionStatsId) 
    {
        this.energyConsumptionStatsId = energyConsumptionStatsId;
    }

    public Long getEnergyConsumptionStatsId() 
    {
        return energyConsumptionStatsId;
    }
    public void setStatType(Long statType) 
    {
        this.statType = statType;
    }

    public Long getStatType() 
    {
        return statType;
    }
    public void setStatDate(Date statDate) 
    {
        this.statDate = statDate;
    }

    public Date getStatDate() 
    {
        return statDate;
    }
    public void setStationType(Integer stationType) 
    {
        this.stationType = stationType;
    }

    public Integer getStationType() 
    {
        return stationType;
    }
    public void setTotalElectricityConsumption(BigDecimal totalElectricityConsumption) 
    {
        this.totalElectricityConsumption = totalElectricityConsumption;
    }

    public BigDecimal getTotalElectricityConsumption() 
    {
        return totalElectricityConsumption;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setUpdater(String updater) 
    {
        this.updater = updater;
    }

    public String getUpdater() 
    {
        return updater;
    }
    public void setTotalElectricityCost(BigDecimal totalElectricityCost) 
    {
        this.totalElectricityCost = totalElectricityCost;
    }

    public BigDecimal getTotalElectricityCost() 
    {
        return totalElectricityCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("energyConsumptionStatsId", getEnergyConsumptionStatsId())
            .append("statType", getStatType())
            .append("statDate", getStatDate())
            .append("stationType", getStationType())
            .append("totalElectricityConsumption", getTotalElectricityConsumption())
            .append("createTime", getCreateTime())
            .append("creator", getCreator())
            .append("updater", getUpdater())
            .append("updateTime", getUpdateTime())
            .append("totalElectricityCost", getTotalElectricityCost())
            .toString();
    }
}
